package com.example.ljdemo.model;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @author luojie
 * @Description:
 * @Date: 2021/12/17 11:49
 * @Version: V1.0
 */
@Data
public class UserEntity {

    private long id;
    @NotBlank(message = "用户名不能为空")
    private String username;
    @Email
    private String account;
    private String password;
    private int type;
}
